home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
ugoku
/
src.lzh
/
MOVREC
/
IRCTIF.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-09-10
|
15KB
|
649 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int tifDialogId[5] ;
extern int tifListMenuId0 ;
extern int tifListFunc0() ;
extern int tifScrollBarId0 ;
extern int tifScrollFunc0() ;
extern int tifMesId[16] ;
extern int tifTIconId[2] ;
extern int tifTIconFunc0() ;
extern int tifDButtonId[9] ;
extern int tifDButtonFunc0() ;
extern int tifDButtonFunc1() ;
extern int tifListMenuId1 ;
extern int tifListFunc1() ;
extern int tifDButtonFunc5() ;
extern int tifDButtonFunc3() ;
extern int tifDButtonFunc4() ;
extern int tifDButtonFunc6() ;
extern int tifDButtonFunc2() ;
extern int tifNumBoxId ;
extern int tifScrollBarId1 ;
extern int tifScrollFunc1() ;
extern int tifDButtonFunc7() ;
extern int tifWaitDialogId ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init ùpâfü[â^ */
/* âwâbâ_ */
MMIINIT initDataIRCTIF = { "MmiInit", 38, 0 } ;
/* tifDialogId[0] */
static MMIPACKET d001 = { &tifDialogId[0],
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
22, 43, 619, 457,15, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* tifDialogId[1] */
static MMIPACKET d002 = { &tifDialogId[1],
&tifDialogId[0],
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d002d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
44, 59, 299, 418,15, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* tifListMenuId0 */
static MMIPACKET d003 = { &tifListMenuId0,
&tifDialogId[1],
&MJ_LMENUL40,
OFFSET(LMENUL40),
MS_NONE
} ;
static LMENUL40 d003d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
61, 70, 144, 405, 8,15, 8,
MS_FRAMEL40,
tifListFunc0,
1, 12, 12,
MS_NONEL40,
0, 0,
0,0,0,0,0,0
} ;
/* tifScrollBarId0 */
static MMIPACKET d004 = { &tifScrollBarId0,
&tifDialogId[1],
&MJ_SCRLL40,
OFFSET(SCRLL40),
MS_NONE
} ;
static SCRLL40 d004d = { MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40,
145, 70, 160, 405, 8, 6, 7,
MS_PANELL40 | MS_FRAMEL40,
tifScrollFunc0,
0, 0, 255, 16, 16,
263, 264
} ;
/* tifMesId[10] */
static MMIPACKET d005 = { &tifMesId[10],
&tifDialogId[1],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d005d = { MS_CENTERL40 | MS_DSPONLYL40,
170, 68, 294, 91, 8,15, 8,
MS_NONEL40,
"î┤ëµâfâBâîâNâgâè",
1, 12, 12,
MS_BOLDL40,
0, 0
} ;
/* tifDialogId[4] */
static MMIPACKET d006 = { &tifDialogId[4],
&tifDialogId[1],
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d006d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
178, 95, 281, 405,15, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* tifTIconId[0] */
static MMIPACKET d007 = { &tifTIconId[0],
&tifDialogId[4],
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d007d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
184, 261, 275, 278, 8, 4, 8,
MS_NONEL40,
tifTIconFunc0,
0x0000, 259, 260
} ;
/* tifMesId[11] */
static MMIPACKET d008 = { &tifMesId[11],
&tifDialogId[4],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d008d = { MS_CENTERL40 | MS_DSPONLYL40,
196, 261, 275, 280, 8,15, 8,
MS_NONEL40,
"êΩé┬é╕é┬ôoÿ^",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* tifTIconId[1] */
static MMIPACKET d009 = { &tifTIconId[1],
&tifDialogId[4],
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d009d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
184, 288, 275, 305, 8, 4, 8,
MS_NONEL40,
tifTIconFunc0,
0x0000, 259, 260
} ;
/* tifMesId[12] */
static MMIPACKET d010 = { &tifMesId[12],
&tifDialogId[4],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d010d = { MS_CENTERL40 | MS_DSPONLYL40,
201, 287, 258, 306, 8,15, 8,
MS_NONEL40,
"êΩèçôoÿ^",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* tifDButtonId[0] */
static MMIPACKET d011 = { &tifDButtonId[0],
&tifDialogId[4],
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d011d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
190, 310, 269, 335,12, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
tifDButtonFunc0,
0x0000
} ;
/* tifMesId[0] */
static MMIPACKET d012 = { &tifMesId[0],
&tifDialogId[4],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d012d = { MS_CENTERL40 | MS_DSPONLYL40,
201, 313, 258, 332, 8,15, 8,
MS_NONEL40,
"êΩèçôoÿ^",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* tifDButtonId[1] */
static MMIPACKET d013 = { &tifDButtonId[1],
&tifDialogId[4],
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d013d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
190, 367, 269, 392,12, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
tifDButtonFunc1,
0x0000
} ;
/* tifMesId[1] */
static MMIPACKET d014 = { &tifMesId[1],
&tifDialogId[4],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d014d = { MS_CENTERL40 | MS_DSPONLYL40,
201, 370, 258, 389, 8,15, 8,
MS_NONEL40,
"æS ôo ÿ^",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* tifDialogId[2] */
static MMIPACKET d015 = { &tifDialogId[2],
&tifDialogId[0],
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d015d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
342, 59, 597, 418,15, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* tifListMenuId1 */
static MMIPACKET d016 = { &tifListMenuId1,
&tifDialogId[2],
&MJ_LMENUL40,
OFFSET(LMENUL40),
MS_NONE
} ;
static LMENUL40 d016d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
359, 70, 442, 405, 8,15, 8,
MS_FRAMEL40,
tifListFunc1,
1, 12, 12,
MS_NONEL40,
0, 0,
0,0,0,0,0,0
} ;
/* tifMesId[13] */
static MMIPACKET d017 = { &tifMesId[13],
&tifDialogId[2],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d017d = { MS_CENTERL40 | MS_DSPONLYL40,
467, 70, 594, 89, 8,15, 8,
MS_NONEL40,
"î┤ëµôoÿ^âpâlâï",
1, 12, 12,
MS_BOLDL40,
0, 0
} ;
/* tifDialogId[3] */
static MMIPACKET d018 = { &tifDialogId[3],
&tifDialogId[2],
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d018d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
476, 95, 579, 405,15, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* tifDButtonId[5] */
static MMIPACKET d019 = { &tifDButtonId[5],
&tifDialogId[3],
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d019d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
488, 310, 567, 335,12, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
tifDButtonFunc5,
0x0000
} ;
/* tifMesId[5] */
static MMIPACKET d020 = { &tifMesId[5],
&tifDialogId[3],
&MJ_MSGL40,